package com.zl.freight.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.zl.freight.R;
import com.zl.freight.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class AdminQueryActivity extends BaseActivity {

    @BindView(R.id.iv_back)
    ImageView ivBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.tv_title_right)
    TextView tvTitleRight;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_admin_query);
        ButterKnife.bind(this);
        tvTitle.setText("统计查询");
    }

    @OnClick({R.id.iv_back, R.id.tv_cz_query, R.id.tv_user_register_query})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.iv_back:
                finish();
                break;
            case R.id.tv_cz_query:
                startActivity(new Intent(mActivity, InfoQueryActivity.class));
                break;
            case R.id.tv_user_register_query:
                startActivity(new Intent(mActivity, QueryUserActivity.class));
                break;
        }
    }
}
